Group

data class Group(val id: String, val name: String, val members: List<UserData>, val createdBy: UserData)

Data class representing a Group entity.

Constructors

Link copied to clipboard
constructor(id: String, name: String, members: List<UserData>, createdBy: UserData)

Properties

Link copied to clipboard

the userId of user who created the group

Link copied to clipboard
val id: String

the unique identifier of the group

Link copied to clipboard

the list of usersId who are members of the group

Link copied to clipboard

the name of the group